package com.ls.fw.mvc.springmvc.controller;

import javax.servlet.http.HttpServletRequest;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

import com.ls.fw.mvc.springmvc.base.BaseController;
import com.ls.fw.web.core.servlet.utils.HttpUtils;
/** 
 * 
 * @author ls
 */
@Controller
public class SysCommonController extends BaseController
{
  
    @RequestMapping("/api") 
    public ModelAndView docs(HttpServletRequest req) {
        ModelAndView mavAndView = new ModelAndView("/docs/api");
        mavAndView.addAllObjects(HttpUtils.getAllPara(req,false));
        return mavAndView;
    }  
    
    
}
